package cn.qayy.service;


import java.util.List;
import java.util.Map;

import org.springframework.web.bind.annotation.RequestParam;

import com.github.pagehelper.PageInfo;

import cn.qayy.dto.GFDTO;
import cn.qayy.po.Bid;
import cn.qayy.po.KdbNssGoodfriend;

/**
 * @author wangyu
 * 中标库接口
 */
public interface IGoodFriendService extends BasicService{
	/**
	 * 分页查询
	 * @param params
	 * @return
	 */
    PageInfo<Map<String, Object>> selectGFBy(Map<String, Object> params) throws Exception;
    
   List<GFDTO> selectGFForDown(@RequestParam Map<String, Object> params) throws Exception;
    /**
     * 通过id查询好伙伴库
     * @param params
     * @return
     */
    KdbNssGoodfriend selectGFByID(@RequestParam Integer gfId) throws Exception;

	List<KdbNssGoodfriend> selectByMap(Map<String, Object> params);
	/**
	 * 查询id
	 * @param params
	 * @return
	 */
	List<Integer> selectIdsByMap(Map<String, Object> params);
    
	
}
